package com.sfx.messagequeue.mqServer.core;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: sfx
 * Date: 2023-07-30
 * Time: 18:05
 */
public enum ExchangeType {
    DIRECT(0), //直接交换机
    FANOUT(1), //扇出交换机
    TOPIC(2);  //主题交换机

    private final int type;

    ExchangeType(int type) {
        this.type = type;
    }
}